"""
demical = 100_00
demical2 = 100_00
print(demical + demical2)
# True ==> 1 False ==> 0
# bin oct hex ==> 二进制、八进制、十六进制
print(int(True))
# // 整除
a,b=2,7
print(b // 2)
# % 求余
print(b % 2)
# ** 次幂
print(7 ** 2)  # 7的2次方

# 链式比较
m,n,y = 3,5,10
print(m < n < y) # True

"""


# 内存占用
import sys
num_list = [0, 1, 10, 100, 1000, 10**10, 10**100]
for num in num_list:
    size = sys.getsizeof(num)
    print(size)